﻿using System;

namespace AppManager.Model
{
    public class AddMessageModel
    {
        /// <summary>
        /// 唯一标识
        /// </summary>
        public string AppName { get; set; }

        /// <summary>
        /// 消息体(需要解碼,防止有特殊字符)
        /// </summary>
        public string Message { get; set; }
        public string Data { get; set; }

        /// <summary>
        /// 設備字符串使用，分割
        /// </summary>
        public string GoogleList { get; set; }
        public string NotGoogleList { get; set; }
        public string IosList { get; set; }
        public DateTime? ExpirseDate { get; set; }
    }

    //兼容旧的借口
    public class AddOldMessageModel
    {
        /// <summary>
        /// 唯一标识
        /// </summary>
        public string AppName { get; set; }

        /// <summary>
        /// 消息体
        /// </summary>
        public string Message { get; set; }
        public string Data { get; set; }

        /// <summary>
        /// 設備字符串使用，分割,谷歌设备
        /// </summary>
        public string aztokenList { get; set; }
        /// <summary>
        /// ios设备
        /// </summary>
        public string iostokenlist { get; set; }
    }
}
